package UtranNRMSystem;
/**
 * Generated from IDL enum "SmartAType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class SmartAType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _OtherArray = 0;
	public static final SmartAType OtherArray = new SmartAType(_OtherArray);
	public static final int _CircleArray = 1;
	public static final SmartAType CircleArray = new SmartAType(_CircleArray);
	public static final int _NormalLinearArray = 2;
	public static final SmartAType NormalLinearArray = new SmartAType(_NormalLinearArray);
	public static final int _DistributedArray = 3;
	public static final SmartAType DistributedArray = new SmartAType(_DistributedArray);
	public static final int _DualPolarization = 4;
	public static final SmartAType DualPolarization = new SmartAType(_DualPolarization);
	public static final int _CompactLinear = 5;
	public static final SmartAType CompactLinear = new SmartAType(_CompactLinear);
	public int value()
	{
		return value;
	}
	public static SmartAType from_int(int value)
	{
		switch (value) {
			case _OtherArray: return OtherArray;
			case _CircleArray: return CircleArray;
			case _NormalLinearArray: return NormalLinearArray;
			case _DistributedArray: return DistributedArray;
			case _DualPolarization: return DualPolarization;
			case _CompactLinear: return CompactLinear;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _OtherArray: return "OtherArray";
			case _CircleArray: return "CircleArray";
			case _NormalLinearArray: return "NormalLinearArray";
			case _DistributedArray: return "DistributedArray";
			case _DualPolarization: return "DualPolarization";
			case _CompactLinear: return "CompactLinear";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected SmartAType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
